<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .list {
            list-style: none;
            overflow: hidden;
        }

        li {
            float: left;
            margin-left: 10px;
            text-align: center;
            line-height: 50px;
        }

        .wrap {
            border: 1px solid #dddddd;
            height: 200px;
            width: 700px;
        }

        .btn {
            margin: 10px;
        }
    </style>
</head>

<body>
    <div id="app">
        <div class="wrap">
            <button class="btn">点击生成10个不同的li</button>
            <ul class="list"></ul>
        </div>

    </div>
</body>
<script src="../js/work3.js"></script>

</html>